﻿
@{
    ViewData["Title"] = "ListLogShow";
    Layout = "~/Views/Home/Main.cshtml";
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        .form-container {
            width: 80%;
            margin: 0 auto;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        .layui-form-item {
            margin-bottom: 20px;
        }

            .layui-form-item .layui-inline {
                margin-right: 20px; /* 为每个内联元素添加右边距 */
            }

            .layui-form-item .layui-input-block {
                margin-left: 0; /* 移除单选按钮块的左边距 */
            }

            .layui-form-item:last-child {
                margin-bottom: 0; /* 移除最后一个表单项的底部边距 */
            }

        .layui-btn {
            margin-right: 10px; /* 为提交按钮添加右边距 */
        }

        .horizontal-timeline {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            width: 80%;
            margin: 0 auto;
            position: relative;
        }

        .timeline-item {
            flex: 1;
            text-align: center;
            position: relative;
            padding: 0 20px; /* Add padding to create space between dots and content */
        }

        .timeline-dot {
            width: 40px;
            height: 40px;
            background-color: #393D49;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: bold;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            z-index: 1; /* Ensure the dot is above any connecting lines */
        }

        .timeline-content {
            margin-top: 10px; /* Add margin to create space between the dot and the content */
        }

        .timeline-title {
            font-size: 16px;
            font-weight: bold;
        }

        /* Optional: Add connecting lines between dots */
        .timeline-item:not(:first-child)::before {
            content: '';
            position: absolute;
            width: calc(50% - 20px); /* Adjust width to account for padding and dot size */
            height: 2px;
            background-color: #393D49;
            top: 20px; /* Align with the center of the dot */
            left: 0;
            z-index: -1; /* Ensure the line is below the dots */
        }

        /* Optional: Center the connecting lines more precisely */
        .timeline-item:not(:last-child)::after {
            content: '';
            position: absolute;
            width: calc(50% - 20px);
            height: 2px;
            background-color: #393D49;
            top: 20px;
            right: 0;
            z-index: -1;
        }

        /* Adjustments for the last item to avoid overlapping with content */
        .timeline-item:last-child .timeline-content {
            margin-right: 20px; /* Add margin to the right to avoid overlap with potential next content */
        }

        .timeline-content {
            margin-top: 60px; /* 或者更多，取决于 .timeline-dot 的高度和您的设计需求 */
        }
    </style>
</head>
<body>
    <div class="form-container">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <h1>采购信息</h1>
                <div class="layui-inline">
                    <label class="layui-form-label">采购编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseCode2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">采购原料名称</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ingredientName2" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">采购原料编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="ingredientnumber2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">采购原料数量：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseNumber2" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">申请日期：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseDate2" name="createdDate" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                   
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">采购日期：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="createdDate2" name="createdDate" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                  
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">采购批次号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseBatch2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">状态：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseSart2" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">采购人：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="createdBy2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">采购预算：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseBudget2" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">实际采购价格：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchaseSumMoney2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">采购单价：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchasePrice2" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">支付价格：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="purchasePayPrice2" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">

                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">付款方式：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="payType" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <h1>供应商信息</h1>
                <div class="layui-inline">
                    <label class="layui-form-label">供应商编号：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="supplierCode" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">供应商名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="supplierName" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">

                <div class="layui-inline">
                    <label class="layui-form-label">负责人：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="curator" name="ProcessPouteNumber" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">负责人电话：</label>
                    <div class="layui-input-inline">
                        <input type="text" id="curatorPhone" lay-verify="required" autocomplete="off" class="layui-input">
                    </div>
                </div>
            </div>
            <div>
                <div class="layui-form-item">
                    <h1>物流信息</h1>
                    <div class="horizontal-timeline">
                        <div class="timeline-item">
                            <div class="timeline-dot">1</div>
                            <div class="timeline-content">
                                <div class="timeline-title">待发货</div>
                            </div>
                        </div>
                        <div class="timeline-item" style="background-color: #ffcccc; color: #ff0000;">
                            <!-- 添加样式以突出显示 -->
                            <div class="timeline-dot" style="background-color: #ff0000;">2</div> <!-- 可选：改变圆点的颜色 -->
                            <div class="timeline-content">
                                <div class="timeline-title" style="font-weight: bold;">运输中</div> <!-- 加粗字体 -->
                            </div>
                        </div>
                       
                        <div class="timeline-item">
                            <div class="timeline-dot">3</div>
                            <div class="timeline-content">
                                <div class="timeline-title">待签收</div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">订单编号：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="logisticsCode" name="logisticsCode" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">创建时间：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="createdDatelog" name="createdDate" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>

                    </div>
                </div>

                <div class="layui-form-item">
                   
                    <div class="layui-inline">
                        <label class="layui-form-label">支付时间：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="payTime" name="payTime" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>
                
                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">发货时间：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="sendDate" name="payTime" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>

                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">物流名称：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="logisticsName" name="createdDate" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>

                    </div>
                    <div class="layui-inline">
                        <label class="layui-form-label">预计到达时间：</label>
                        <div class="layui-input-inline">
                            <input type="text" id="endDate" name="createdDate" lay-verify="required" autocomplete="off" class="layui-input">
                        </div>

                    </div>
                  
                </div>
              
            </div>

        </form>
        <script src="~/js/Purch/ListLogSh.js"></script>

    </div>

</body>
</html>




